package com.alienware.carlauncherlite.Dock;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.WindowManager;

import androidx.annotation.NonNull;

import com.alienware.carlauncherlite.R;

public class SponsorDialog extends Dialog {
    public SponsorDialog(@NonNull Context context) {
        super(context);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //设置全屏
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        //对话框布局
        this.setContentView(R.layout.sponsor_dialog_layout);
    }
}
